package com.sunyifeng.ch07;

public class BridgePatternDemo {

    public static void main(String[] args) {
        ShapeAbstract redCircle = new Circle(100,100, 10, new RedCircle());
        ShapeAbstract greenCircle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }

}